home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6202 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.iadfw.net!usenet
  2. From: alpet@airmail.net (Adam Peterson)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Printing to Printer
  5. Date: Fri, 23 Feb 1996 05:16:37 GMT
  6. Organization: customer of Internet America
  7. Message-ID: <4gjbn9$o0h@news-f.iadfw.net>
  8. References: <4gj599$rbr@news.bu.edu>
  9. NNTP-Posting-Host: dal24-12.ppp.iadfw.net
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. rajman@bu.edu (Rajesh Keswani) wrote:
  13.  
  14. >I am currently trying to print to the printer with ofstream, etc...
  15.  
  16. >It's is all going to the printer fine, but it is staying in the
  17. >printer's memory, and not ejecting the page... 
  18. >If I reset the printer, the page comes out... that isn't really what
  19. >I need!  
  20. >Can someone please tell me what to do to "end a printing session" so the 
  21. >pritner can do a form feed or something and print out the page?
  22.  
  23. >This is really important, so I would appreciate any help...
  24.  
  25. Usually, this only happens with laser printers, but perhaps the stream
  26. is buffering data also.  First I would try sending a form feed char to
  27. the printer, if that doesn't work, see if the stream is buffering your
  28. data, and if so, flush the buffer (like a file output).
  29.  
  30. Adam
  31.  
  32.  
  33.  
  34.